package com.daniel.design.principles.demo4.before;

/**
 * @ClassName Client
 * @Description 接口隔离原则测试
 * @Author Daniel
 * @Version V1.0.0
 */
public class Client {
    public static void main(String[] args) {
        HeimaSafetyDoor heimaSafetyDoor = new HeimaSafetyDoor();
        heimaSafetyDoor.antiTheft();
        heimaSafetyDoor.fireProof();
        heimaSafetyDoor.waterProof();
        System.out.println("===============");
        ItcastSafetyDoor itcastSafetyDoor = new ItcastSafetyDoor();
        itcastSafetyDoor.antiTheft();
        itcastSafetyDoor.fireProof();
        itcastSafetyDoor.waterProof();
    }
}
